﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.NewsLetters.Repositories
{
	internal static class QueryExtentions
	{
		public static Datas.EmailSentData GetById(this IQueryable<Datas.EmailSentData> list, int emailSentId)
		{
			return list.FirstOrDefault(i => i.Id == emailSentId);
		}
	}
}
